<template>
	<view class="wrap">
		<rich-text :nodes="vipRule"></rich-text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				vipRule:''
			};
		},
		onLoad() {
			this.GetVipInfo()
		},
		methods:{
			async GetVipInfo(){
				let res = await this.$api.post('/Member/GetUserType',{
					UserType:'VIP会员'
				})
				if(res.code==0){
					this.vipRule = res.data && res.data.Description ? res.data.Description : ''
					
				}else{
					this.$u.toast(res.message)
				}
			},
		}
	}
</script>

<style lang="scss">
.wrap{
	padding: 24rpx;
}
</style>
